# begin
docker run -d \
  --name almalinux_9 \
  -e DISPLAY=${DISPLAY} -v /tmp/.X11-unix:/tmp/.X11-unix \
  -v /root/G2:/root/G2 \
  --device /dev/dri \
  --device /dev/fuse \
  --cap-add SYS_ADMIN \
  --security-opt apparmor:unconfined \
  almalinux94dev1:latest \
  tail -f /dev/null # keep container running

# exec
id0=$(docker ps | grep almalinux94dev1 | awk '{print $1}')
docker exec -it -e DISPLAY=${DISPLAY} ${id0} bash

# end
# docker stop <CONTAINER ID>
# docker rm <CONTAINER ID>
